<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>pidgin</Name>
        <Homepage>http://www.pidgin.im</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <Icon>pidgin</Icon>
        <Summary>Instant messaging application previously known as gaim</Summary>
        <Description>Multi-protocol instant messaging tool for MSN, Yahoo, IRC, Jabber and Gadu-Gadu protocols.</Description>
        <Archive sha1sum="38f48c48978425b86fc9f4e8ba08216ff379451b" type="tarbz2">mirrors://sourceforge/pidgin/pidgin-2.12.0.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>intltool</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>gtk2-devel</Dependency>
            <Dependency>libXScrnSaver-devel</Dependency>
            <Dependency>libSM-devel</Dependency>
            <Dependency>gtkspell-devel</Dependency>
            <Dependency>sqlite-devel</Dependency>
            <Dependency>libxml2-devel</Dependency>
            <Dependency>gstreamer-devel</Dependency>
            <Dependency>farstream-devel</Dependency>
            <Dependency>gst-plugins-base-devel</Dependency>
            <Dependency>libidn-devel</Dependency>
            <Dependency>avahi-glib-devel</Dependency>
            <Dependency>dbus-glib-devel</Dependency>
            <Dependency>NetworkManager-devel</Dependency>
            <Dependency>nss-devel</Dependency>
            <Dependency>tcl-devel</Dependency>
            <Dependency>tcltk-devel</Dependency>
            <Dependency>cyrus-sasl-devel</Dependency>
            <Dependency>doxygen</Dependency>
            <Dependency>libxslt-devel</Dependency>
            <Dependency>gnutls-devel</Dependency>
<!--             <Dependency>mono-devel</Dependency> -->
            <Dependency>atk-devel</Dependency>
            <Dependency>cairo-devel</Dependency>
            <Dependency>gdk-pixbuf-devel</Dependency>
            <Dependency>ncurses-devel</Dependency>
            <Dependency>python-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">suse/pidgin-ncurses-6.0-accessors.patch</Patch>
            <Patch level="1">pidgin-py3-fixes.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>pidgin</Name>
        <IsA>app:gui</IsA>
        <RuntimeDependencies>
            <Dependency>atk</Dependency>
            <Dependency>dbus</Dependency>
            <Dependency>gtk2</Dependency>
            <Dependency>cairo</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libSM</Dependency>
            <Dependency>pango</Dependency>
            <Dependency>libICE</Dependency>
            <Dependency>sqlite</Dependency>
            <Dependency>freetype</Dependency>
            <Dependency>gtkspell</Dependency>
            <Dependency>dbus-glib</Dependency>
            <Dependency>gstreamer</Dependency>
            <Dependency>fontconfig</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
            <Dependency>libXScrnSaver</Dependency>
            <Dependency release="current">libpurple</Dependency>
            <Dependency>gstreamer-next</Dependency>
            <Dependency>farstream</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="data">/usr/share/icons</Path>
            <Path fileType="data">/usr/share/sounds</Path>
            <Path fileType="data">/usr/share/dbus-1</Path>
            <Path fileType="data">/usr/share/purple</Path>
            <Path fileType="data">/usr/share/pixmaps</Path>
            <Path fileType="library">/usr/lib/pidgin</Path>
            <Path fileType="config">/etc/gconf/schemas</Path>
	    <Path fileType="data">/usr/share/appdata/</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="data">/usr/share/applications</Path>
        </Files>
    </Package>

    <Package>
        <Name>pidgin-devel</Name>
        <IsA>library</IsA>
        <Summary>Development files of pidgin</Summary>
        <RuntimeDependencies>
            <Dependency release="current">pidgin</Dependency>
            <Dependency release="current">libpurple-devel</Dependency>
            <Dependency>gtk2-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include/pidgin</Path>
            <Path fileType="executable">/usr/bin/dh_pidgin</Path>
            <Path fileType="man">/usr/share/man/man3/Pidgin*</Path>
            <Path fileType="data">/usr/lib/pkgconfig/pidgin.pc</Path>
        </Files>
    </Package>

    <Package>
        <Name>finch</Name>
        <IsA>app:console</IsA>
        <Summary>Console based instant messaging application</Summary>
        <RuntimeDependencies>
            <Dependency>glib2</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>python</Dependency>
            <Dependency>libxml2</Dependency>
            <Dependency>ncurses</Dependency>
            <Dependency>gstreamer</Dependency>
            <Dependency release="current">libpurple</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/gnt</Path>
            <Path fileType="library">/usr/lib/finch</Path>
            <Path fileType="library">/usr/lib/libgnt*</Path>
            <Path fileType="executable">/usr/bin/finch</Path>
            <Path fileType="man">/usr/share/man/man1/finch*</Path>
        </Files>
    </Package>

    <Package>
        <Name>finch-devel</Name>
        <IsA>library</IsA>
        <Summary>Development files of finch</Summary>
        <RuntimeDependencies>
            <Dependency release="current">finch</Dependency>
            <Dependency release="current">libpurple-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include/gnt</Path>
            <Path fileType="header">/usr/include/finch</Path>
            <Path fileType="data">/usr/lib/pkgconfig/gnt*</Path>
            <Path fileType="data">/usr/lib/pkgconfig/finch*</Path>
        </Files>
    </Package>

    <Package>
        <Name>libpurple</Name>
        <IsA>library</IsA>
        <Summary>The core library of pidgin, supports MSN, XMPP, ICQ, Gadu-Gadu and etc.</Summary>
        <RuntimeDependencies>
            <Dependency>nss</Dependency>
            <Dependency>tcl</Dependency>
            <Dependency>dbus</Dependency>
            <Dependency>nspr</Dependency>
            <Dependency>perl</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>tcltk</Dependency>
            <Dependency>gnutls</Dependency>
            <Dependency>libidn</Dependency>
            <Dependency>libxml2</Dependency>
            <Dependency>dbus-glib</Dependency>
            <Dependency>gstreamer</Dependency>
            <Dependency>avahi-glib</Dependency>
            <Dependency>avahi-libs</Dependency>
            <Dependency>cyrus-sasl</Dependency>
            <Dependency>gst-plugins-base</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/purple-2</Path>
            <Path fileType="executable">/usr/bin/purple*</Path>
            <Path fileType="library">/usr/lib/libpurple*</Path>
        </Files>
    </Package>

    <Package>
        <Name>libpurple-devel</Name>
        <IsA>library</IsA>
        <Summary>Development files of libpurple</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libpurple</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/usr/share/aclocal</Path>
            <Path fileType="header">/usr/include/libpurple</Path>
            <Path fileType="man">/usr/share/man/man3/Purple*</Path>
            <Path fileType="data">/usr/lib/pkgconfig/purple.pc</Path>
        </Files>
    </Package>

    <History>
	<Update release="4">
            <Date>2017-07-30</Date>
            <Version>2.12.0</Version>
            <Comment>Rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-07-07</Date>
            <Version>2.12.0</Version>
            <Comment>Rebuild with new toolchain</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-15</Date>
            <Version>2.10.11</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-11-20</Date>
            <Version>2.10.11</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
